package mr.zhang.pojo.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TCustomerContract entity. @author MyEclipse Persistence Tools
 */

public class TCustomerContract implements java.io.Serializable {

	// Fields
    //签约id
	private Integer id;
   //签约价格
	private Integer price;
	//签约备注
	private String marks;
	//签约
	private Date contractTime;
	//客户状态名称
	private String statesname;
	//所属状态
	private Set TCustomerStates = new HashSet(0);

	// Constructors

	/** default constructor */
	public TCustomerContract() {
	}

	/** full constructor */
	public TCustomerContract(Integer price, String marks, Date contractTime,
			Set TCustomerStates) {
		this.price = price;
		this.marks = marks;
		this.contractTime = contractTime;
		this.TCustomerStates = TCustomerStates;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getMarks() {
		return this.marks;
	}

	public void setMarks(String marks) {
		this.marks = marks;
	}

	public Date getContractTime() {
		return this.contractTime;
	}

	public void setContractTime(Date contractTime) {
		this.contractTime = contractTime;
	}

	public Set getTCustomerStates() {
		return this.TCustomerStates;
	}

	public void setTCustomerStates(Set TCustomerStates) {
		this.TCustomerStates = TCustomerStates;
	}

	public String getStatesname() {
		return statesname;
	}

	public void setStatesname(String statesname) {
		this.statesname = statesname;
	}



}